export {
    Role,
};

/**
 * 角色
 */
class Role {

    id: number;
    roleName: string;
    roleStatus: number;  // 角色状态，0：启用用，1：禁用
    description: string;
    createTime: string;

    menuIds: number[] = [];

    setDataValue(data: any) {
        this.id = data.id;
        this.roleName = data.roleName;
        this.roleStatus = data.roleStatus;
        this.description = data.description;
        this.createTime = data.createTime;
        this.menuIds = data.menuIds;
    }

}
